package com.yami.shop.live.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author lhd
 * @date 2020-11-20 17:49:56
 */
@Data
@TableName("tz_live_user")
public class LiveUser implements Serializable{
    private static final long serialVersionUID = 1L;

    @Schema(description = "直播成员表id")
    @TableId
    private Long liveUserId;

    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "头像")
    private String headingImg;

    @Schema(description = "微信号")
    private String anchorWechat;

    @Schema(description = "脱敏微信号")
    private String userName;

    @Schema(description = "角色列表")
    private String roles;

    @Schema(description = "角色列表")
    @TableField(exist = false)
    private List<Integer> roleList;

    @Schema(description = "openId")
    private String openId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改时间")
    private Date updateTime;
}
